#include "test.h"

#ifndef NO_GTEST
#include <gtest/gtest.h>

////////////////////////////////////////////////////////////////////////////

class COEnvironment
    : public testing::Environment {
public:
    COEnvironment();
    virtual ~COEnvironment();
public:
    virtual void SetUp();
    virtual void TearDown();
};

COEnvironment::COEnvironment() {
}

COEnvironment::~COEnvironment() {
}

void COEnvironment::TearDown() {
    testing::Environment::TearDown();
}

void COEnvironment::SetUp() {
    testing::Environment::SetUp();
}

////////////////////////////////////////////////////////////////////////////
int main(int argc, char** argv) {
    testing::AddGlobalTestEnvironment(new COEnvironment);
    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}

#endif